package com.demo.dto;

/**
 * json数据格式封装
 * @author zhoufanfan
 */
public class ReturenJson {
	
	private String errCode;
	private String errMsg;
	private Object data;
	
	public ReturenJson() {
		super();
	}

	public ReturenJson(String errCode, String errMsg) {
		super();
		this.errCode = errCode;
		this.errMsg = errMsg;
		this.data = null;
	}
	
	public ReturenJson(String errCode, String errMsg, Object data) {
		super();
		this.errCode = errCode;
		this.errMsg = errMsg;
		this.data = data;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
